<?php
	return array(

		'import'=>array(
			'application.models.*',
			'application.components.*',
		),

		'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',

		'name'=>'CopyCoder',

		'charset'=>'utf-8',

		'defaultController'=>'site',

		'language'=>'ru',

		'params'=>array(
			'adminEmail'=>'ninazu@ukr.net',
			'crew'=>'CopyCoderCrew',
		),

		'components'=>array(
			'db'=>array(
				'connectionString' => 'mysql:host=localhost;dbname=copycoder',
				'tablePrefix' => 'tbl_',
				'emulatePrepare' => true,
				'username' => 'root',
				'password' => '',
				'charset' => 'utf8',
			),

			'urlManager' => array(
				'urlFormat' => 'path',
				'caseSensitive' => false,
				'showScriptName' => false,
				//Для садюг
				'rules' => array(
					'<alias:(login|logout)>' => 'site/<alias>',

				),
			),

		),
	);
?>